<?php
/**
 * Created by PhpStorm.
 * User: Season
 * Date: 2018/10/20
 * Time: 17:33
 */
return [
    'appID' => 'wx3f097a905a39a9fa',
    //    'appSecret' => 'adfd4085eb60748b02fa5a6e0efd5b4d',
        'appSecret' => 'da2d19368e7d3f1ed579371f01b8c4a3',

    // 微信使用code换取用户openid及session_key的url地址
    'loginUrl' => 'https://api.weixin.qq.com/sns/jscode2session?'.
        'appid=%s&secret=%s&js_code=%s&grant_type=authorization_code',

    // 微信获取access_token的url地址
    'access_token_url' => "https://api.weixin.qq.com/cgi-bin/token?" .
                          "grant_type=client_credential&appid=%s&secret=%s",

];